#pragma once
#include <QObject>
#include <QThread>

class ThriftClientWrap : public QThread
{
    Q_OBJECT
public:
    explicit ThriftClientWrap(QObject *parent = nullptr);
    int openRtBCST_Block();
    int closeRtBCST_Block();
signals:

public slots:

protected:
    void run() override;

private:
    //
    enum class AppointFun{
        openRtBCST,
        closeRtBCST,
    };
   //
    void disableRun();
   //
    bool m_isRun{false};
    AppointFun m_AppointFun={AppointFun::openRtBCST};

};
